@import "common2";

.aside{
    display: inline-block;
    width: 25rem;
    height: 100vh;
    border-right: 1px solid $s_gray;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: white;
    .aside_menu{
        .layui-nav{
            width: 100%;
            background-color: $d_color;
            .layui-nav-item{
                i{
                    color: #fff;
                }
                .layui-nav-child{
                    padding: 0;
                    background-color: #fff !important;
                    .layui-this{
                        a{
                            color: #fff;
                            background-color: $s_color;
                        }
                    }
                    dd{
                        a{
                            color: $gray;
                            padding-left: 4rem;
                        }
                    }
                }
            }
        }
    }
}

.nav{
    padding-left: 27rem;
    box-shadow: 0px 2px 10px $s_gray;
    .nav_content{
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 4rem;
        .nav_title{
            h1{
                color: $gray;
            }
        }
        .nav_user{
            display: flex;
            align-items: center;
            .user_avatar{
                width: 4rem;
                height: 4rem;
                border-radius: 50%;
                overflow: hidden;
                margin-right: 2rem;
                border: 1px solid $gray;
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }
            .user_cancel{
                a{
                    color: $red;
                    font-size: 1.8rem;
                    i{
                        color: $red;
                    }
                }
            }
        }
    }

    
}

.content_container{
    padding-top: 5rem;
    padding-left: 27rem;
    width: 1280px;
    margin: 0 auto;
    .content_container_title{
        h2{
            color: $d_color;
            font-weight: bolder;
            padding-bottom: 2rem;
            border-bottom: 1px solid $s_gray;
        }
    }
}

@media screen and (max-width: 1600px){
    .nav{
        padding-left: 22rem;
    }
    .aside{
        width: 20rem;
    }
    .content_container{
        padding-left: 20rem;
    }
}